//
//  WBStatusToolbar.swift
//  SwiftWeibo
//
//  Created by Lausen on 2017/4/26.
//  Copyright © 2017年 id. All rights reserved.
//

import UIKit

class WBStatusToolbar: UIView {

    var viewModel: WBStatusViewModel?{
        
        didSet{
        
            retweetBtn.setTitle(viewModel?.repostsStr, for: [])
            commentBtn.setTitle(viewModel?.commentsStr, for: [])
            likeBtn.setTitle(viewModel?.attitudesStr, for: [])
        }
    }
    
    
    @IBOutlet weak var retweetBtn: UIButton!
    @IBOutlet weak var commentBtn: UIButton!
    @IBOutlet weak var likeBtn: UIButton!

}
